﻿Namespace ViewModel
    Public Class AlertSettingsViewModel
        Inherits ViewModelBase

        ' MEMO DataGrid の仕様的に用意 IsAlertTargetと連動させる
        Private _isEnabled As Boolean
        Public Property IsEnabled() As Boolean
            Get
                Return _isEnabled
            End Get
            Set(ByVal value As Boolean)
                _isEnabled = value
                OnPropertyChanged("IsEnabled")
            End Set
        End Property

        Private _alertByWindow As Boolean
        Public Property AlertByWindow() As Boolean
            Get
                Return _alertByWindow
            End Get
            Set(ByVal value As Boolean)
                _alertByWindow = value
                OnPropertyChanged("AlertByWindow")
            End Set
        End Property

        Private _alertByBalloon As Boolean
        Public Property AlertByBalloon() As Boolean
            Get
                Return _alertByBalloon
            End Get
            Set(ByVal value As Boolean)
                _alertByBalloon = value
                OnPropertyChanged("AlertByBalloon")
            End Set
        End Property

        Private _alertByBrowser As Boolean
        Public Property AlertByBrowser() As Boolean
            Get
                Return _alertByBrowser
            End Get
            Set(ByVal value As Boolean)
                _alertByBrowser = value
                OnPropertyChanged("AlertByBrowser")
            End Set
        End Property

        Private _alertByMail As Boolean
        Public Property AlertByMail() As Boolean
            Get
                Return _alertByMail
            End Get
            Set(ByVal value As Boolean)
                _alertByMail = value
                OnPropertyChanged("AlertByMail")
            End Set
        End Property

        Private _alertBySound As Boolean
        Public Property AlertBySound() As Boolean
            Get
                Return _alertBySound
            End Get
            Set(ByVal value As Boolean)
                _alertBySound = value
                OnPropertyChanged("AlertBySound")
            End Set
        End Property

        Private _soundFileName As String = ""
        Public Property SoundFileName() As String
            Get
                Return _soundFileName
            End Get
            Set(ByVal value As String)
                _soundFileName = value
                OnPropertyChanged("SoundFileName")
            End Set
        End Property

    End Class
End Namespace